home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1744 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  680 b 

  1. Path: rowdy.lonestar.org!nemesis!hammy!not-for-mail
  2. From: gordon@hammy.lonestar.org (Gordon Burditt)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What the Exon is THIS?!
  5. Date: 14 Jan 1996 17:14:09 -0600
  6. Organization: What organization?
  7. Message-ID: <4dc2o1$ea8@hammy.lonestar.org>
  8. References: <4d6rgh$rfu@abel.cc.sunysb.edu>
  9. NNTP-Posting-Host: localhost.hammy.lonestar.org
  10.  
  11. >  int (*p)[3]  is?????
  12.  
  13. A pointer to an array of 3 integers.
  14.  
  15. >(*p)[0] = 3; for e.g, but when I print the value using:
  16. >
  17. > printf("%d",(*p)[0]) I get a core dump!
  18.  
  19. You can store into it, but when you try to access it, it core dumps?
  20. This is rather strange.
  21.  
  22.  
  23.                     Gordon L. Burditt
  24.                     sneaky.lonestar.org!gordon
  25.